package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/7 0007.
 */

public class RealNameReuqestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "user/realname_verification";

    /**
     * 用户ID
     */
    private String full_name;

    /**
     * 绑定的手机号码
     */
    private String id_card;



    public RealNameReuqestParams() {
    }


    public RealNameReuqestParams(String phone, String verify) {
        this.full_name = phone;
        this.id_card = verify;
    }



    @Override
    public String getServiceString() {
        return SERVICE;
    }

    public String getFull_name() {
        return full_name;
    }

    public void setFull_name(String full_name) {
        this.full_name = full_name;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.full_name);
        dest.writeString(this.id_card);

    }

    protected RealNameReuqestParams(Parcel in) {
        super(in);
        this.full_name = in.readString();
        this.id_card = in.readString();

    }

    public static final Creator<RealNameReuqestParams> CREATOR = new Creator<RealNameReuqestParams>() {
        @Override
        public RealNameReuqestParams createFromParcel(Parcel source) {
            return new RealNameReuqestParams(source);
        }

        @Override
        public RealNameReuqestParams[] newArray(int size) {
            return new RealNameReuqestParams[size];
        }
    };
}
